{extend name="common/base" /} {block name="titlekeyword"}
<title>{$content}</title>

{/block} {block name="headjs"}
<script language="javascript">
	var m = "3 5 1 3 4 50";
	var n = m.split(" ", 3);
	document.write('用字符串m的前3个数据，组成新的数组n' + n);
	alert(n);
</script> {/block} {block name="main"}
<h6>内容</h6>
<h6>代码</h6>
<pre>
	&lt;script language="javascript"&gt;
	var m = "3 5 1 3 4 50";
	var n=m.split(" ",3);
	document.write('用字符串m的前3个数据，组成新的数组n'+n);
	alert(n);
&lt;/script&gt;

	 </pre> {/block}